﻿<Window x:Class="ListViewDataTemplate.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" DataContext="{Binding}">
    <Grid>
        <ListView ItemsSource="{Binding Path=ItemsList}">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="Column1" Width="60" DisplayMemberBinding="{Binding Path=ItemName}"/>
                    <GridViewColumn Header="Column2" Width="60" DisplayMemberBinding="{Binding Path=StartDate}"/>
                    <GridViewColumn Header="Column2" Width="60" DisplayMemberBinding="{Binding Path=Comment}"/>
                </GridView>
            </ListView.View>
        </ListView>
    </Grid>
</Window>
